package com.accenture.portal.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.accenture.portal.service.ImageService;

@Component
public class ImageTiming
{
	@Autowired
	private ImageService ims;
		
	/**
	 * 定时任务
	 * @author chuyan.qi
	 */
	    //@Scheduled(cron = "3 * * * * ?")
		//@Scheduled(cron="0 0 6 * * ?" )
		public void imageTiming() {
			ims.failure();
			//System.out.println("aaaaaaaaa");  
		}		
}
